Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mburridge96 authored Feb 23, 2024
1 parent e8a6403 commit 1ebb7fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py-rocraters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ crate.write()
To then read a `ro-crate-metadata.json` file and load it in as a structured object:
```python
# New example
from pyrocraters import read
from rocraters import read

# Read RO-Crate at specified path
crate = read("ro-crate-metadata.json")
Expand All @@ -83,7 +83,7 @@ crate = read("ro-crate-metadata.json")
To zip the folder and all contained directories within the `ro-crate-metadata.json` directory:
```python
# new example
from pycrate import zip
from rocraters import zip

zip("./")
```
Expand All @@ -94,7 +94,7 @@ As per the libraries purpose, modification, ie the deletion, update and addition

```python
# Example based upon previously made crate
from pyrocraters import read
from rocraters import read

crate = read("ro-crate-metadata.json")

Expand Down

0 comments on commit 1ebb7fe

Please sign in to comment.