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

create Path to /neighbors before trying to open file #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tcnichol
Copy link
Contributor

This fixes an error in the maple_divideimage_234_new.py that is called by maple workflow.

The script tries to open a file that is in a directory that does not yet exist. I added a step to create that directory first.

@tcnichol tcnichol linked an issue Jan 31, 2024 that may be closed by this pull request
@amalshehan
Copy link
Collaborator

amalshehan commented Feb 1, 2024

@tcnichol did you run the mpl_workflow_create_dir_struct.py prior to the running the workflow. In the codebase some of the directories are created and some are not so by running create directories you can avoid these issues. But we can incorporate this fix once you confirm about running the create directory code.

@gugibugy
Copy link
Contributor

gugibugy commented Feb 1, 2024

+1 to @amalshehan comment above. I made sure to run the directory set up script before executing the pipeline and I didn't encounter any issues with the neighbor directory!

@tcnichol
Copy link
Contributor Author

tcnichol commented Feb 2, 2024

Let me try to run that first and then see if it still happens. I realize that when I ran the workflow with the Dockerfile it didn't have that step.

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

Successfully merging this pull request may close these issues.

error in creating /data/neighbors/test_image_01_ij_dict.pkl
3 participants