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
When matching many observations with one or more modelresults with ms.match(obslist, mr), it is annoying when it fails only because a one or a few of comparers have no overlapping data. This forces me to use this ugly block:
cmps = []
for o in obslist:
print(f"Processing {o.name}...")
try:
cmp = ms.match(obs=o, mod=mr)
cmps.append(cmp)
except Exception as e:
print(e)
cc = ms.ComparerCollection(cmps)
instead of just:
cc = ms.match(obs=olist, mod=mr)
The text was updated successfully, but these errors were encountered:
When matching many observations with one or more modelresults with
ms.match(obslist, mr)
, it is annoying when it fails only because a one or a few of comparers have no overlapping data. This forces me to use this ugly block:instead of just:
The text was updated successfully, but these errors were encountered: