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

Error when downloading LIDC-IDRI dataset in debug mode #20

Closed
sssilvar opened this issue Apr 4, 2022 · 0 comments · Fixed by #21
Closed

Error when downloading LIDC-IDRI dataset in debug mode #20

sssilvar opened this issue Apr 4, 2022 · 0 comments · Fixed by #21
Assignees
Labels
bug Something isn't working

Comments

@sssilvar
Copy link
Collaborator

sssilvar commented Apr 4, 2022

Issue description

Error raised when downloading LIDC-IDRI using the --debug flag.

Steps to reproduce the issue

  1. python download_ct_scans.py -o ~/LIDC-dataset --debug

What's the expected result?

  • Downloaded DICOMs with no error

What's the actual result?

Converting to NiFTIs...: 100%|██████████| 10/10 [00:00<00:00, 2629.49it/s]
Traceback (most recent call last):
  File "/Users/ssilvari/PycharmProjects/FLamby/flamby/datasets/fed_lidc_idri/dataset_creation_scripts/download_ct_scans.py", line 277, in <module>
    main(args.output_folder, args.debug, args.keep_dicoms)
  File "/Users/ssilvari/PycharmProjects/FLamby/flamby/datasets/fed_lidc_idri/dataset_creation_scripts/download_ct_scans.py", line 247, in main
    LIDC_to_niftis(patientXseries, debug=debug)
  File "/Users/ssilvari/PycharmProjects/FLamby/flamby/datasets/fed_lidc_idri/dataset_creation_scripts/download_ct_scans.py", line 240, in LIDC_to_niftis
    write_value_in_config(config_file, "preprocessing_complete", True)
  File "/Users/ssilvari/PycharmProjects/FLamby/flamby/utils.py", line 174, in write_value_in_config
    raise FileNotFoundError(
FileNotFoundError: The config file doesn't exist.             Please create the config file before updating it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant