grd349 / PBjam

A repo for our peak baggin code and tips on jam
MIT License
17 stars 6 forks source link

pbjam.star() AttributeError pbjam.IO get_priorpath #279

Open jsinkbaek opened 1 month ago

jsinkbaek commented 1 month ago

I get an error-message for the current version 2.0.1 available from "git clone https://github.com/grd349/PBjam.git" when I run the initialization function: pbjam.star(ID, freq, psd, {"numax": [somevalue, someerr], "dnu": [somevalue, someerr]})

The error is: AttributeError: module 'pbjam.IO' has no attribute 'get_priorpath'. Did you mean: 'getPriorPath'?

Local modification of the code to the suggested function "getPriorPath" seems to fix the issue.

All the best, Jeppe

nielsenmb commented 1 month ago

Hi Jeppe,

The star class isn't currently working on the main branch. I'm in the process of updating it and the tutorials on the dev branch.

I think it's easiest to just go through the example-modeID notebook in the main directory, that'll go through the steps that the star class handles. Otherwise you can checkout the dev branch if you want to use the star class. Just bear in mind the arguments have changed slightly.

On Tue, Oct 29, 2024 at 10:04 AM Jeppe Sinkbæk Thomsen < @.***> wrote:

I get an error-message for the current version 2.0.1 available from "git clone https://github.com/grd349/PBjam.git" when I run the initialization function: pbjam.star(ID, freq, psd, {"numax": [somevalue, someerr], "dnu": [somevalue, someerr]})

The error is: AttributeError: module 'pbjam.IO' has no attribute 'get_priorpath'. Did you mean: 'getPriorPath'?

Local modification of the code to the suggested function "getPriorPath" seems to fix the issue.

All the best, Jeppe

— Reply to this email directly, view it on GitHub https://github.com/grd349/PBjam/issues/279, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJWO37RKW6QRV7RNRXK3CDZ55MRJAVCNFSM6AAAAABQZOTDKKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZDANZVG44DKMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jsinkbaek commented 2 weeks ago

Ok thanks for letting me know Martin :)