When the script has ) on an empty line. There has to be some specific surrounding, but I am not sure which. Attaching an example file with this behavior.
If you remove bracket on an empty line in this expression:
logging.info("New file \n%s\n Full path:\n%s\n Original name: \n%s\n Original path: \n%s\n" % (new_file_name,
os.path.join(
direction_dirs[embryo_direction - 1], new_file_name),
file_name,
file_path)
)
When the script has
)
on an empty line. There has to be some specific surrounding, but I am not sure which. Attaching an example file with this behavior.If you remove bracket on an empty line in this expression:
the error disappears. nullexception_bracket.txt