G-Node / nixworks

Python package with nix-helpers
BSD 3-Clause "New" or "Revised" License
0 stars 5 forks source link

Add functions for tagged_data of multiple Tags/MultiTags #19

Open hkchekc opened 4 years ago

hkchekc commented 4 years ago

nixpy issue #411 There are 2 functions for public use: union and intersection. They return the non-overlapping union and the overlapping area of the tagged_data of multiple tags.

Tests are added.

I follow the return values of Tags and MultiTags by commit 6487b8f6b30282f9f60cda2f7df54b24965f463f in NIXPy, such that the stop value of position+extent is included in the return value. Example: position=(0,) and extent=(12,) the tagged data will return 13 values.

hkchekc commented 4 years ago

@achilleas-k @jgrewe

lgtm-com[bot] commented 4 years ago

This pull request introduces 1 alert when merging 3449ccf3796d9d6085a792c2109ae7b2fc5b5482 into 6916644c1ae2e09275c1c4e7cedb673364e1d90c - view on LGTM.com

new alerts:

achilleas-k commented 4 years ago

Also, make sure to add from . import multi_tag in the top-level __init__.py to expose the module.

lgtm-com[bot] commented 4 years ago

This pull request introduces 1 alert when merging 31bcee59a973f97c2dd3080f3285690a03ba6a8f into 6916644c1ae2e09275c1c4e7cedb673364e1d90c - view on LGTM.com

new alerts:

lgtm-com[bot] commented 4 years ago

This pull request introduces 1 alert when merging a7db8961217ab850af63938abf0f603225b1cbed into 6916644c1ae2e09275c1c4e7cedb673364e1d90c - view on LGTM.com

new alerts:

lgtm-com[bot] commented 4 years ago

This pull request introduces 2 alerts when merging 7d68bd84acda7cd459f92ce4853dda908abf7f72 into 6916644c1ae2e09275c1c4e7cedb673364e1d90c - view on LGTM.com

new alerts:

lgtm-com[bot] commented 4 years ago

This pull request introduces 2 alerts when merging 27a94288b8c78460911c60ea9cdcf58e8dabf718 into c063574a05f3e5daee872e942f952b831e387219 - view on LGTM.com

new alerts:

lgtm-com[bot] commented 4 years ago

This pull request introduces 2 alerts when merging 9d9c01225db43cd546df2455bff5dc3322f78675 into c063574a05f3e5daee872e942f952b831e387219 - view on LGTM.com

new alerts: