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

AttributeError: 'NoneType' object has no attribute 'update_info' #86

Open
afamiliar opened this issue Feb 18, 2023 · 0 comments
Open

AttributeError: 'NoneType' object has no attribute 'update_info' #86

afamiliar opened this issue Feb 18, 2023 · 0 comments
Assignees

Comments

@afamiliar
Copy link
Collaborator

Need to catch empty file containers to avoid this error.

File /usr/local/bin/image-deid-etl:8 in <module> locals
sys.exit(main())
File /usr/local/src/image_deid_etl/__main__.py:427 in main locals
return args.func(args)
File /usr/local/src/image_deid_etl/__main__.py:243 in run args locals
add_fw_metadata(args)
File /usr/local/src/image_deid_etl/__main__.py:318 in add_fw_metadata args locals
inject_sidecar_metadata(fw_client, FLYWHEEL_GROUP, local_path + "NIfTIs/")
File /usr/local/src/image_deid_etl/custom_flywheel.py:79 in inject_sidecar_metadata args locals
nii_cntr.update_info(metadata)
@afamiliar afamiliar self-assigned this Feb 18, 2023
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