psychopy / pyosf

A pure python library for simple sync with Open Science Framework
9 stars 5 forks source link

README outdated? #11

Closed sappelhoff closed 6 years ago

sappelhoff commented 6 years ago

In the README a basic example is:

proj = pyosf.Project(project_file="/Home/myUserName/pyosfProjects/first.proj",
                       root_path="/Home/myUserName/experiments/firstExperiment",
                       osf=osf_proj)
changes = proj.analyze()  #so you can inspect them if needed
changes.apply()  #do the sync
proj.save()

However, when trying to run this I saw that pyosf.Project does not have a method analyze. What works instead is get_changes. Is the README perhaps outdated?

peircej commented 6 years ago

ah, yes, I think you're right. Feel free to change and I'll pull in your various fixes. Thanks