Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMA / EMA Submission checker #11

Open
psychemedia opened this issue Jun 6, 2022 · 2 comments
Open

TMA / EMA Submission checker #11

psychemedia opened this issue Jun 6, 2022 · 2 comments

Comments

@psychemedia
Copy link
Contributor

Tool to report on "health" of a zipped submission file and, optionally, repair items. Should be complemented by a "sumbission packer" to create a zip file that is well formed.

Issues might include:

  • code cells not run;
  • code cells run out of order;
  • unwanted directories (.ipynb_checkpoints, _MACOSX);
  • overlong filenames (break TMA uploader);
  • oversized zip files (what is EMA upload system limit?)
@psychemedia
Copy link
Contributor Author

Add warning around

if warnings and zip_contents:
to check for _MACOSX in path.

Are there other directories that might be included that are likely to be superfluous?

If there are files that are part of the original distribution, should we provide a way to omit those? eg based on path and file hash (if filepath and the filehash match the distribution, then optionally remove them from the archive and perhaps include small file that indicates they were in the zip and have been removed (and perhaps could be automatically reconstituted?)

@psychemedia
Copy link
Contributor Author

psychemedia commented Jun 6, 2022

Currently, we can use eg tm351zipview --warnings MY_SUBMISSION.zip to check the health of the zip file.

Should we perhaps have a tm351ziptidy MY_SUBMISSION.zip to tidy a zip file, perhaps with --dryrun and --inplace options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant