Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
brivas
ICOADS R HOSTACE
Commits
281d9497
Commit
281d9497
authored
3 years ago
by
Richard Cornes
Browse files
Options
Download
Email Patches
Plain Diff
Fixed bug in reporting missing file name
parent
90007068
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rscripts/process_ships.R
rscripts/process_ships.R
+1
-1
No files found.
rscripts/process_ships.R
View file @
281d9497
...
...
@@ -107,7 +107,7 @@ for ( year in my_args[1]:my_args[2] ) {
if
(
!
file.exists
(
fn.in
))
cat
(
"main file"
,
fn.in
,
"file does not exist stopping"
,
"\n"
)
if
(
!
file.exists
(
fn.in
))
stop
(
paste
(
"process_ships, main file"
,
fn.in
,
"missing"
))
if
(
!
file.exists
(
fn.plus
))
stop
(
paste
(
"process_ships, forward file"
,
fn.plus
,
"missing"
))
if
(
!
file.exists
(
fn.minus
))
stop
(
paste
(
"process_ships, backward file"
,
fn.
pl
us
,
"missing"
))
if
(
!
file.exists
(
fn.minus
))
stop
(
paste
(
"process_ships, backward file"
,
fn.
min
us
,
"missing"
))
mdata
<-
icoads.utils
::
rbind_files
(
files.want
)
}
else
{
if
(
!
file.exists
(
fn.in
)
&
file.exists
(
fn.out
)
)
file.remove
(
fn.out
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment