forked from nasa/ogma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ogma-core: Make it possible for the file format to be a local file. R…
…efs nasa#200. Ogma allows users to select the format used for the JSON file, but only known formats can be selected. Users should be able to pass a local file containing a JSON format specification as an argument. This commit modifies the standalone backend so that, if a file exists with the name of the format selected, or if the format name contains a path separator, then it is treated as a local file. Otherwise, Ogma finds the file in the package's data directory.
- Loading branch information
1 parent
365a723
commit 9528128
Showing
2 changed files
with
47 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters