-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid overwrite existing YAML files if no change has been made (#987)
Do not overwrite existing yaml files by default.
- Loading branch information
1 parent
63f3829
commit bbd331b
Showing
5 changed files
with
48 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# An invalid version of datamodel Valid1.yaml | ||
uri: http://onto-ns.com/meta/0.1/InvalidYaml1 | ||
description: An datamodel for an item with float type and invalid shape name. | ||
dimensions: | ||
nf: Number of eigen-frequencies. | ||
properties: | ||
name: | ||
type: str | ||
description: Name of the item. | ||
f: | ||
type: float64 | ||
shape: [nf_MISPELLED] | ||
unit: Hz | ||
description: The magic eigen-frequencies of the item. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# An valid version of datamodel Invalid1.yaml | ||
uri: http://onto-ns.com/meta/0.1/ValidYaml1 | ||
description: An datamodel for an item with float type and invalid shape name. | ||
dimensions: | ||
nf: Number of eigen-frequencies. | ||
properties: | ||
name: | ||
type: str | ||
description: Name of the item. | ||
f: | ||
type: float64 | ||
shape: [nf] | ||
unit: Hz | ||
description: The magic eigen-frequencies of the item. |
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