add if conditions to check RO flag
add if conditions to check RO flag

common-workflow-language/cwltool,common-workflow-language/cwltool,dleehr/cwltool,dleehr/cwltool,common-workflow-language/cwltool,dleehr/cwltool,dleehr/cwltool