-
Notifications
You must be signed in to change notification settings - Fork 3
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
Update C and Fortran docs examples #97
Merged
Merged
Changes from 6 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
fd4756b
Rename conda env file for C example
mdpiper 2d132d2
Match C example babel.toml with 'babelize sample-config' output
mdpiper 3b433d6
Update C example through babelizing
mdpiper edf60ca
Rename C example
mdpiper db955a9
Update reference to C example from Fortran example
mdpiper 98cf829
Update C example through installation
mdpiper fa14f96
Replace Finder image with 'tree' output to show final directory struc…
mdpiper b82b1b4
Include bmi-tester in example environment
mdpiper e4727ad
Move parameters for C example to their own directory
mdpiper 0632fa5
Move Python examples to c directory
mdpiper c4d15ea
Include pymt in example environment
mdpiper ae533ff
Update Python examples for C heat model
mdpiper ac642d3
Update location of C Python example
mdpiper 8d5a121
Finish updating C example
mdpiper f571e71
Show a smaller tree for final result
mdpiper f202a97
Update Fortran environment file; relax bmi-tester version requirement
mdpiper 7460ecb
Update HeatF babelizer config file
mdpiper 1270529
Minor edits; fix typos
mdpiper 5c8b334
Add Fortran-Python examples
mdpiper 2be54ed
Fix typo
mdpiper 5703222
Update the Fortran example to match the C example
mdpiper 049917b
Add news fragment
mdpiper f636241
Add code of conduct document to repo and docs
mdpiper daf0991
Remove obsolete docs makefiles
mdpiper f811c96
Add news fragments
mdpiper 4f42303
Merge branch 'develop' into mdpiper/revise-docs-examples
mcflugen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
[library] | ||
[library.HeatModel] | ||
# See https://babelizer.readthedocs.io/ for more information | ||
|
||
# Describe the library being wrapped. | ||
[library.HeatC] | ||
language = "c" | ||
library = "bmiheatc" | ||
header = "bmi_heat.h" | ||
entry_point = "register_bmi_heat" | ||
|
||
# Describe compiler options need to build the library being wrapped. | ||
[build] | ||
undef_macros = [] | ||
define_macros = [] | ||
|
@@ -13,17 +16,26 @@ library_dirs = [] | |
include_dirs = [] | ||
extra_compile_args = [] | ||
|
||
# Describe the newly wrapped package. | ||
[package] | ||
name = "pymt_heatc" | ||
requirements = [""] | ||
requirements = [] | ||
|
||
[info] | ||
github_username = "pymt-lab" | ||
package_author = "csdms" | ||
package_author_email = "[email protected]" | ||
package_license = "MIT" | ||
summary = "PyMT plugin for the C heat model" | ||
package_license = "MIT License" | ||
summary = "PyMT component for the C heat model" | ||
|
||
[ci] | ||
python_version = ["3.9"] | ||
os = ["linux", "mac", "windows"] | ||
python_version = [ | ||
"3.10", | ||
"3.11", | ||
"3.12", | ||
] | ||
os = [ | ||
"linux", | ||
"mac", | ||
"windows", | ||
] |
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
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 |
---|---|---|
|
@@ -40,7 +40,7 @@ User Guide | |
|
||
readme | ||
cli | ||
example | ||
example-c | ||
example-fortran | ||
glossary | ||
|
||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of using a png for this, how about using the output of a
tree
command? Apart from looking better (in my opinion), it would be easier to keep up-to-date and would be one less binary file in version control.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm thinking about removing it entirely because it's hard to maintain. It was a request from a reviewer on the JOSS paper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed in fa14f96.