Path definitions in PyCIF
Summary
Make path definitions in PyCIF relative to the working directory.
What is the purpose of the new feature?
Set the directory for PyCIF output in one location only, and make all other paths relative to that location. For example, when trying to make a monitor file following the steps in the online doc (section 6.2.3 Generate a monitor file compatible with the CIF), the file_monitor parameter was defined as
/some_directory/monitor_reference.nc
which makes them absolute paths in Unix-terms. Probably not meant as such, so would it be possible to use something like
{WORKDIR}/some_directory/monitor_reference.nc
where you set WORKDIR somewhere else?