Hello all,
Trying to do some manipulation in CLI files using the CONLIM class I have noticed that when trying to write back the file, the first line is always missing.
Looking into the putContent function I have found that the if statement check (shown below) is to blame:
def putContent(self,fileName):
# standard part of the CONLIM
core = []
for ifr in range(self.NPTFR):
if self.INDEX[ifr] != 0: <---
Removing this check works for me, but could this break some other functionality? What purpose does this check serve?
Best Regards,
Costas