Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
gviejo committed May 23, 2024
1 parent fc38f6a commit a164ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/api_guide/tutorial_pynapple_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
# %%
# Notice that you can pass directly a numpy array as long as it is the same size as the `TsGroup`.
#
# We can also add new metadata by passing it as an item of the dictionary.
# We can also add new metadata by passing it as an item of the dictionary with a string key.
tsgroup["my_label3"] = np.random.randn(len(tsgroup))

print(tsgroup)
Expand Down
7 changes: 3 additions & 4 deletions docs/api_guide/tutorial_pynapple_nwb.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@

print(tc)

# %%
# !!! warning
# Carefulness should still apply when calling any pynapple function on a memory map. Pynapple does not implement any batching function internally. Calling a high level function of pynapple on a dataset that do not fit in memory will likely cause a memory error.

# %%
# To change this behavior, you can pass `lazy_loading=False` when instantiating the `NWBClass`.
Expand Down Expand Up @@ -171,7 +174,3 @@
print(type(tsdframe.values))
print("\n")
print(sta)

# %%
# !!! warning
# Carefulness should still apply when calling any pynapple function on a memory map. Pynapple does not implement any batching function internally. Calling a high level function of pynapple on a dataset that do not fit in memory will likely cause a memory error.

0 comments on commit a164ef3

Please sign in to comment.