Skip to content

Commit

Permalink
Test ought to pass
Browse files Browse the repository at this point in the history
  • Loading branch information
jonwright committed Dec 4, 2024
1 parent 6aa28e6 commit 8c9d16c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ImageD11/sinograms/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,15 @@ def __init__(
self.dsfile = None

# paths for processed data
if analysispath is not None:
# Can be loaded with the dataset or supplied
self.analysispath = analysispath

self.analysispath = None # default
# Loaded
if filename is not None:
self.dsfile = filename
self.load(filename)
# Supplied overwrites
if analysispath is not None:
# Can be loaded with the dataset
self.analysispath = analysispath

self.update_paths()

Expand Down

0 comments on commit 8c9d16c

Please sign in to comment.