Skip to content

Commit

Permalink
added is_local_file for simulation.md file node creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nh916 committed Jul 24, 2023
1 parent 9516a37 commit fa29c2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/examples/simulation.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ experiment.computation += [init, equilibration, bulk, ana]
New we'd like to upload files associated with our simulation. First, we'll instantiate our File nodes under a specific project.

```python
packing_file = cript.File("Initial simulation box snapshot with roughly packed molecules", type="computation_snapshot", source="path/to/local/file")
forcefield_file = cript.File(name="Forcefield definition file", type="data", source="path/to/local/file")
snap_file = cript.File("Bulk measurement initial system snap shot", type="computation_snapshot", source="path/to/local/file")
final_file = cript.File("Final snapshot of the system at the end the simulations", type="computation_snapshot", source="path/to/local/file")
packing_file = cript.File("Initial simulation box snapshot with roughly packed molecules", type="computation_snapshot", source="path/to/local/file", is_local_file=True)
forcefield_file = cript.File(name="Forcefield definition file", type="data", source="path/to/local/file", is_local_file=True)
snap_file = cript.File("Bulk measurement initial system snap shot", type="computation_snapshot", source="path/to/local/file", is_local_file=True)
final_file = cript.File("Final snapshot of the system at the end the simulations", type="computation_snapshot", source="path/to/local/file", is_local_file=True)
```

!!! note
Expand Down

0 comments on commit fa29c2c

Please sign in to comment.