Stanford-STAGES / stanford-stages

Automated sleep staging scoring and narcolepsy identification
76 stars 26 forks source link

gp.zip is not working #13

Closed Mensen closed 4 years ago

Mensen commented 4 years ago

In my test run I received an error with some reference to not being able to find the gp\ folder...

This probably has to do with the issue that I cannot open the gp.zip file and extract its contents. When I try to open the zip I get the following error:

image

I've tried deleting the file and downloading it again using this link

In the installation guide it says the zip should be 64MB but the zip file is 42MB... the reported size might just be the extracted size, but I thought it was noticeable in case it relates to this problem.

RaghavRao commented 4 years ago

I have the same issue on Linux:

$ unzip gp.zip 

Archive:  gp.zip
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.

Tangentially related: ac.zip is only ~750 Mb instead of being 1.2 Gb

informaton commented 4 years ago

Yes, that is definitely a problem. It should be ~64MB. I will check on the other model files as well.

informaton commented 4 years ago

The gp.zip link and file has been updated. Depending on the units your system uses to show file sizes, it may appear as 64.4 MB or 61.4 MiB. I'll take a look at the ac.zip file size discrepancy as well.

informaton commented 4 years ago

The ac.zip file size should be close to what you are seeing and not 1.0 GB. I updated the readme file just now. I'll leave the issue open for a bit longer in case you run into any other issues or if this does not resolve them.

RaghavRao commented 4 years ago

Thanks,

gp.zip works now

On Wed, Feb 19, 2020 at 6:34 PM Hyatt Moore IV notifications@github.com wrote:

The ac.zip file size should be close to what you are seeing and not 1.0 GB. I updated the readme file just now. I'll leave the issue open for a bit longer in case you run into any other issues or if this does not resolve them.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Stanford-STAGES/stanford-stages/issues/13?email_source=notifications&email_token=ABUBDU2LWTUBWUP55RNWJKLRDW6XRA5CNFSM4KWO4ZV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMKEBEA#issuecomment-588529808, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABUBDUZOFKVIUJAAJ66ABELRDW6XRANCNFSM4KWO4ZVQ .

Mensen commented 4 years ago

Perfect! Thanks for looking into this!

The scripts all work now... technically. Now I just have to tinker with the inputs since its not quite producing the expected stages.