You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed several example notebooks (particularly, linking-diagnostics) using a legacy argument to link_df(), namely diagnostics = True. These notebooks import the regular link_df(), but the diagnostics = True keyword has recently been removed. This is not a problem when using the pip version of trackpy (where the diagnostics keyword is still there), but it breaks the examples when using the latest github version of trackpy.
I plan to fix this with existing pull request #44 but I wanted to suggest a "recommended" method for users to import the legacy version of link_df(), in case they do want diagnostics. Here's what I did:
import trackpy as tp
import trackpy.linking.legacy as tplegacy
...
t = tplegacy.link_df(f, 13, memory=3, diagnostics=True)
The text was updated successfully, but these errors were encountered:
charlesreid1
changed the title
Trackpy link_df diagnostics
Trackpy link_df() with diagnostics=True: works with pip trackpy, breaks with github trackpy
Nov 10, 2017
charlesreid1
changed the title
Trackpy link_df() with diagnostics=True: works with pip trackpy, breaks with github trackpy
link_df() with diagnostics=True: works with pip trackpy, breaks with github trackpy
Nov 10, 2017
I noticed several example notebooks (particularly, linking-diagnostics) using a legacy argument to
link_df()
, namelydiagnostics = True
. These notebooks import the regularlink_df()
, but thediagnostics = True
keyword has recently been removed. This is not a problem when using the pip version of trackpy (where the diagnostics keyword is still there), but it breaks the examples when using the latest github version of trackpy.I plan to fix this with existing pull request #44 but I wanted to suggest a "recommended" method for users to import the legacy version of
link_df()
, in case they do want diagnostics. Here's what I did:The text was updated successfully, but these errors were encountered: