Currently, if trying to use model_singlepsr_noise with a Pulsar that was created from a .tim file that contains no pta or f flag (e.g., something simulated by Tempo2) it will fail. This PR fixes this by using the get dictionary method with a default empty string being returned.
I've discovered that this breaks things due to the enterprise BasePulsar class' backend_flags property required a flag of some sort to be set. So, I might need to suggest a change there too.
Currently, if trying to use
model_singlepsr_noise
with aPulsar
that was created from a.tim
file that contains nopta
orf
flag (e.g., something simulated by Tempo2) it will fail. This PR fixes this by using theget
dictionary method with a default empty string being returned.