Skip to content

Commit

Permalink
docs: update advanced usage
Browse files Browse the repository at this point in the history
gui: downgrade electron-builder
  • Loading branch information
linzuzeng committed Oct 18, 2021
1 parent a26e80d commit 92049ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docs/advanced.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ You may also want to modify the Clip returned by ``eta.clip_file`` or other high
ret_clip = eta.clip_file(filename)
ret_clip.GlobalTimeShift = -1,000,000 # picoseconds
new_clip = eta.clip_file(filename, seek_event=0, modify_clip=ret_clip) # use seek_event=0 resume to header
eta.rum(new_clip)
new_clip = eta.clips(filename, seek_event=0, modify_clip=ret_clip, reuse_clips=True)
# use seek_event=0 to resume to the first event after the header
# make sure reuse_clips=True, so that your modification will be preserved when the generator is sliding windows
eta.run(... new_clip ...)
Run ETA as a Python Library
-------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
},
"devDependencies": {
"electron": "^15.2.0",
"electron-builder": "^22.13.0"
"electron-builder": "^22.11.0"
},
"resolutions": {}
}

0 comments on commit 92049ce

Please sign in to comment.