Skip to content

Set AGNI 'resources' directory dynamically, sync with FWL_DATA #185

@nichollsh

Description

@nichollsh

Feature description

AGNI stores its 'resource' data files (e.g. spectral files) in the res/ folder and subfolders. This means that it does not synchronise these data with other PROTEUS modules. Given the upcoming rework to how lookup data are provided (fwl-io module), AGNI should check the FWL_DATA folder for data files.

Preferred solution

AGNI should still work standalone too. Seems like the best option is to check if the variable FWL_DATA exists, and access files there if the folder exists. If not, it will use its own res/ folder.

Additional information

Should wait for fwl-io module to begin development before jumping on this.

Relevant people

@timlichtenberg

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions