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

Versioning Projects #96

Open
Abe404 opened this issue Mar 30, 2023 · 0 comments
Open

Versioning Projects #96

Abe404 opened this issue Mar 30, 2023 · 0 comments

Comments

@Abe404
Copy link
Owner

Abe404 commented Mar 30, 2023

When a user tries to open a multiclass RootPainter project in the single class version of RootPainter they get the following error:

Initialising RootPainter
Traceback (most recent call last):
File "/home/abe/projects/root_painter/painter/src/main/python/root_painter.py", line 381, in show_open_project_widget
self.open_project(file_path)
File "/home/abe/projects/root_painter/painter/src/main/python/root_painter.py", line 198, in open_project
last_with_annot = last_fname_with_annotations(self.image_fnames,
File "/home/abe/projects/root_painter/painter/src/main/python/file_utils.py", line 41, in last_fname_with_annotations
val_annot_fnames = os.listdir(str(val_annot_dir))
FileNotFoundError: [Errno 2] No such file or directory: '/home/abe/rp_sync_live/projects/lungs_and_spine/annotations/val'
Traceback (most recent call last):
File "/home/abe/projects/root_painter/painter/src/main/python/root_painter.py", line 381, in show_open_project_widget
self.open_project(file_path)
File "/home/abe/projects/root_painter/painter/src/main/python/root_painter.py", line 198, in open_project
last_with_annot = last_fname_with_annotations(self.image_fnames,
File "/home/abe/projects/root_painter/painter/src/main/python/file_utils.py", line 41, in last_fname_with_annotations
val_annot_fnames = os.listdir(str(val_annot_dir))
FileNotFoundError: [Errno 2] No such file or directory: '/home/abe/rp_sync_live/projects/lung_2d_multiclass/annotations/val'

Do we need to think about some type of version system to let users know that the issue is that they need to upgrade?

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