Skip to content

Commit 2fc3bbe

Browse files
committed
Fix README example and add publication
1 parent 3111d68 commit 2fc3bbe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pip install .
5151
To extract data from a file, you can use the `extract` function from the `beam` module inside your own Python code:
5252

5353
```python
54-
from datatractor_beam import extract
54+
from beam import extract
5555

5656
# extract(<input_type>, <input_path>)
5757
data = extract("./example.mpr", "biologic-mpr")
@@ -71,7 +71,7 @@ ModuleNotFoundError: No module named 'xarray'
7171
Alternatively, if the `preferred_mode="cli"` argument is specified, the extractor will be executed using its command-line invocation. This means the output of the extractor will most likely be a file, which can be further specified using the `output_type` argument:
7272

7373
```python
74-
from datatractor_beam import extract
74+
from beam import extract
7575
ret = extract("example.mpr", "biologic-mpr", output_path="output.nc", preferred_mode = "cli")
7676
```
7777

0 commit comments

Comments
 (0)