Open mdpunch opened 7 years ago
This is due to ctapipe-extra/datasets/config.json' file is missing Running the following command should remove the issue,
prompt$> make init
Tried that, now I get a new error:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = ('config_file', '/scr/punch/CTA/CTA_Pipelines/ctasoft/ctapipe/ctapipe-extra/datasets/config.json', '')
def _format_image(self):
keyword = self._format_keyword()
value = self._format_value()
is_commentary = keyword.strip() in self._commentary_keywords
if is_commentary:
comment = ''
else:
comment = self._format_comment()
# equal sign string
# by default use the standard value indicator even for HIERARCH cards;
# later we may abbreviate it if necessary
delimiter = VALUE_INDICATOR
if is_commentary:
delimiter = ''
# put all parts together
output = ''.join([keyword, delimiter, value, comment])
# For HIERARCH cards we can save a bit of space if necessary by
# removing the space between the keyword and the equals sign; I'm
# guessing this is part of the HIEARCH card specification
keywordvalue_length = len(keyword) + len(delimiter) + len(value)
if (keywordvalue_length > self.length and
keyword.startswith('HIERARCH')):
if (keywordvalue_length == self.length + 1 and keyword[-1] == ' '):
output = ''.join([keyword[:-1], delimiter, value, comment])
else:
# I guess the HIERARCH card spec is incompatible with CONTINUE
# cards
raise ValueError('The keyword %s with its value is too long' %
> self.keyword)
E ValueError: The keyword config_file with its value is too long
/scr/punch/miniconda3/envs/cta/lib/python3.5/site-packages/astropy/io/fits/card.py:1236: ValueError
------------------------------------------------------ Captured stderr call -------------------------------------------------------
[MyApp] WARNING | Config option `another` not recognized by `MyApp`.
============================================== 1 failed, 52 passed in 37.63 seconds ===============================================
Makefile:35: recipe for target 'test' failed
make: *** [test] Error 1
make test
gives failures at a certain point: