JasperVanDenBosch / niprov

provenance for neuroimaging data
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

mongo db shows update deprecated #182

Open mrjeffs opened 7 years ago

mrjeffs commented 7 years ago

hey jasper, you aware of this mongo issue? does it impact niprov? jeff

/home/toddr/Software/anaconda2/bin/python2.7 /home/toddr/Software/pylabs/pylabs/projects/bbc/correl/stats_from_roi.py /home/toddr/Software/niprov/niprov/mongo.py:65: DeprecationWarning: update is deprecated. Use replace_one, update_one or update_many instead. self.deflate(image)) [provenance:info] Added new version for: /mnt/users/js/bbc/stats/py_correl_2ndpass/roi406_AD_PPVTSS_mm_stats.csv

JasperVanDenBosch commented 7 years ago

Hi @mrjeffs thanks for reporting. It's a warning and shouldn't become an issue anytime soon, but I'll look out for it.