Skip to content

Commit

Permalink
[update] temporary removed functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
dvm-shlee committed Apr 15, 2024
1 parent 504c6ee commit 92a087a
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions brkraw/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import toml
from pathlib import Path
from brkraw import __version__

class ConfigManager:
"""
Expand Down Expand Up @@ -45,20 +46,7 @@ def load_or_create_config(self):
"""
if not self.config_file.exists():
default_config = {
'spec': {
'pvdataset': {
'binary_files': [],
'parameter_files': ['subject', 'ResultState', 'AdjStatePerStudy', 'study.MR']
},
'pvscan': {
'binary_files': ['fid', 'rawdata.job0'],
'parameter_files': ['method', 'acqp', 'configscan', 'visu_pars', 'AdjStatePerScan']
},
'pvreco': {
'binary_files': ['2dseq'],
'parameter_files': ['reco', 'visu_pars', 'procs', 'methreco', 'id']
}
}
'version': __version__
}
with open(self.config_file, 'w') as f:
toml.dump(default_config, f)
Expand Down

0 comments on commit 92a087a

Please sign in to comment.