troubles with file format

93 views
Skip to first unread message

Mark Miller

unread,
Jul 28, 2016, 7:21:02 PM7/28/16
to dppdiv-users
Dear Tracy and all,
I am trying to help a user make a run, and I am stumped.
I have two files that look to me to be pretty much in the same format, but only one works.
I attach them here.

The one that fails gives the message: ERROR: There's a problem with the calibration file
The one that succeeds, well, succeeds.

Each file has a newline at the end of the final line.
If I remove the newline, the error message changes to
The file "infile.cal" has 1 lines. Could not find line 2

Any advice would be most appreciated.

Mark
 
infile_works_report.cal
infile_fails_report.cal

Tracy Heath

unread,
Aug 7, 2016, 3:53:45 PM8/7/16
to dppdiv...@googlegroups.com
Hi Mark,

It seems like the file that fails has Windows line endings. Have you tried converting those to Unix and seeing if that works? Otherwise, it's difficult to troubleshoot without the other files.

Cheers!
Tracy

--
You received this message because you are subscribed to the Google Groups "dppdiv-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Miller, Mark

unread,
Aug 8, 2016, 10:28:36 AM8/8/16
to dppdiv...@googlegroups.com

Hi Tracy,

 

Thanks for your response. I have tried with unix line endings and got the same outcome,

 

The user says he installed it locally and also gets the same response.

So it isn’t a cipres issue per se.

 

He agreed to contact you directly, and I hope to hear the outcome of that.

 

All the best,

Mark

--

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

 

--

You received this message because you are subscribed to the Google Groups "dppdiv-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users...@googlegroups.com.

Tracy Heath

unread,
Aug 8, 2016, 11:34:47 AM8/8/16
to dppdiv...@googlegroups.com
Ok. The only other thing that comes to mind is that the difference between the files is that one uses a calibration density (the one that works) with a hyperprior on the exponential rate and the other is for when the user has specified the FBD model (from Heath et al. 2014). The arguments at execution that work for the working file will not work for the other one (with the -t specified for the calibration).

Cheers,
Tracy

--

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users+unsubscribe@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "dppdiv-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users+unsubscribe@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "dppdiv-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users+unsubscribe@googlegroups.com.

Miller, Mark

unread,
Aug 8, 2016, 12:21:00 PM8/8/16
to dppdiv...@googlegroups.com

Yeah, thanks Tracy.

I had a doubt as to whether the issue might be the flag, and not actually line ending per se, even though the error message suggests that is the issue.

The format of this file looked right  compared to the one other example of a cal file I saw that used  the –t flag.

I wondered if it was possible that the parser was expecting some additional input it wasn’t finding.

I will let Jim provide his files, and we can go from there…

 

Best,

Mark

 

 

From: dppdiv...@googlegroups.com [mailto:dppdiv...@googlegroups.com] On Behalf Of Tracy Heath
Sent: Monday, August 08, 2016 8:35 AM
To: dppdiv...@googlegroups.com
Subject: Re: troubles with file format

 

Ok. The only other thing that comes to mind is that the difference between the files is that one uses a calibration density (the one that works) with a hyperprior on the exponential rate and the other is for when the user has specified the FBD model (from Heath et al. 2014). The arguments at execution that work for the working file will not work for the other one (with the -t specified for the calibration).

 

Cheers,

Tracy

 

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "dppdiv-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "dppdiv-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "dppdiv-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to dppdiv-users...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages