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

Update cli.py with config file path operand error #5

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

BioCoderR
Copy link
Contributor

log_path issue for the storing of the config file while preprocessing.

~$ wsi_extraction --config configs/patch_extraction_tiles-l1-s256.yaml 
Traceback (most recent call last):
  File "/projects/envs/conda/psgudla/envs/cellvit_env/bin/wsi_extraction", line 8, in <module>
    sys.exit(main())
  File "/projects/envs/conda/psgudla/envs/cellvit_env/lib/python3.9/site-packages/pathopatch/wsi_extraction.py", line 31, in main
    configuration_parser.store_config()
  File "/projects/envs/conda/psgudla/envs/cellvit_env/lib/python3.9/site-packages/pathopatch/cli.py", line 686, in store_config
    with open(self.preprocessconfig.log_path / "config.yaml", "w") as yaml_file:
TypeError: unsupported operand type(s) for /: 'str' and 'str'

@FabianHoerst FabianHoerst merged commit 1f70ca7 into TIO-IKIM:main Jan 14, 2025
1 check passed
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.

2 participants