Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local paths in ihm_external_files.file_path #26

Closed
benmwebb opened this issue Mar 27, 2017 · 5 comments
Closed

Local paths in ihm_external_files.file_path #26

benmwebb opened this issue Mar 27, 2017 · 5 comments
Assignees
Labels

Comments

@benmwebb
Copy link
Contributor

Does ihm_external_files.file_path require paths to be separated with / or \ or is either acceptable? Windows builds of our software will naturally output paths separated with \ while the provided examples all use /. The docs say "This data item assumes a POSIX-like directory structure" but I'm not sure if that means "you must use / to separate paths".

For local files, the path is required to be a relative path. But relative to what?

benmwebb added a commit to salilab/pmi that referenced this issue Mar 27, 2017
The path is output by PMI with 'correct' path separators,
i.e. / on Linux and \ on Windows, so the test needs to be
updated to match.

What isn't clear is if mmCIF itself allows platform-specific
paths, or whether Linux-style paths should be used everywhere.
Relates ihmwg/IHMCIF#26.
@tomgoddard
Copy link
Collaborator

I assumed in ChimeraX that any relative path in ihm_external_files.file_path was relative to directory containing the ihm file.

@brindakv
Copy link
Collaborator

For local supplementary files, the path is relative to master ihm file. I understand restricting to POSIX-like file paths creates problem with Windows builds. We can may be remove that restriction for now.

@benmwebb
Copy link
Contributor Author

I understand restricting to POSIX-like file paths creates problem with Windows builds

It doesn't cause a problem - I just need to know whether to emit paths using / or \. By "POSIX-like file paths" do you mean /?

@brindakv
Copy link
Collaborator

Yes

@tomgoddard
Copy link
Collaborator

tomgoddard commented Mar 29, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants