# Functions
Getting a config file path relative to the root of the bucket.
Get a detector config path (used by PIQUANT) given the config name, version and optionally a file name.
No description provided by the author
No description provided by the author
Retrieves the path of a given file for dataset, job id and file name.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
Auth0 PEM file which API uses to verify JWTs.
CSVFileSuffix - CSV files are <jobid>.csv.
File name for dataset custom meta file containing the title and other settings.
Root directory for all dataset add-ons.
The dataset file containing all spectra, housekeeping, beam locations, etc.
No description provided by the author
Paths for v4 API:.
No description provided by the author
Root directory to store uploaded dataset "raw" artifacts.
Diffraction peak database, generated by diffraction-detector when dataset is imported.
Name of user manually entered diffraction peaks file.
Name of file containing status of diffraction peaks - the diffraction DB is generated when dataset is created but users can view a peak and mark it with a status, eg to delete it because it's not a real diffraction peak OTE: this file only exists as a shared file!.
File name of "overall" piquant config file, which references the individual files PIQUANT will need.
Piquant configs sub-dir - NOTE: Quant creation doesn't use GetDetectorConfigPath, maybe DetectorConfig is hard-coded into docker container! TODO: remove that.
Piquant logs sub-directory.
QuantFileSuffix - quant files are <jobid>.bin.
File name of last piquant output (used with fit command).
File name of last piquant output log file (used with fit command).
QuantLogsSubDirSuffix - this goes after job ID to form a directory name that stores the quant logs.
Root directory containing all archived data set zips as we downloaded them
- Archive/
*/.
Root directory containing all dataset configs
- DatasetConfig/
- ----import-times.json - Specifies when each dataset was imported (map id->unix time)
*/.
Root directory containing all detector configs
- DetectorConfig/
- ----<config-name>/ - Name shown on UI, eg PIXL or Breadboard
- --------pixlise-config.json - UI config values for this detector, eg detector energy range, window material, etc
- --------PiquantConfigs/
- ------------<version>/ - eg v1, v2, v3
- ----------------config.json - The PIQUANT config file, used by quant "runner", in docker container.
This contains temporary files generated when running a long-running job (eg PIQUANT).
Root directory of PIXLISE-specific config files
- PixliseConfig/
- ----auth0.pem - Certificate needed by Auth0 to verify a user request is valid
- ----datasets.json - Dataset list (tiles)
- ----piquant-version.json - Docker container for running PIQUANT
- ----bad-dataset-ids.json - Contains a list of Dataset IDs to ignore when generating dataset tiles
*/.
No description provided by the author
No description provided by the author