pyicat_plus.utils.sync_types.ExperimentalSession#
- class pyicat_plus.utils.sync_types.ExperimentalSession(session_dir, raw_root_dir, raw_data_format, proposal, beamline, session, startdate, search_url, datasets, icat_investigation=None)[source]#
Bases:
object
- Parameters:
session_dir (
str
)raw_root_dir (
str
)raw_data_format (
str
)proposal (
str
)beamline (
str
)session (
str
)startdate (
date
)search_url (
str
)datasets (
Dict
[str
,List
[Dataset
]])icat_investigation (
Optional
[IcatInvestigation
])
- DATASET_STATUSES = ('unregistered', 'not_uploaded', 'registered', 'invalid', 'registered_without_files')#
- classmethod allow_unsupervised_upload(dataset_status)[source]#
- Parameters:
dataset_status (
str
)- Return type:
bool
-
beamline:
str
#
-
icat_investigation:
Optional
[IcatInvestigation
] = None#
- property in_icat_investigation: bool | None#
-
proposal:
str
#
-
raw_data_format:
str
#
-
raw_root_dir:
str
#
-
search_url:
str
#
-
session:
str
#
-
session_dir:
str
#
-
startdate:
date
#