Conformed to PEP8 on lines 492 and 1336
@@ -489,7 +489,8 @@ class AgentType(HARKobject):
None
'''
if not hasattr(self, 'solution'):
- raise Exception('Model instance does not have a solution stored. To simulate, it is necessary to run the `solve()` method of the class first.')
+ raise Exception('Model instance does not have a solution stored. To simulate, it is necessary'
+ ' to run the `solve()` method of the class first.')
self.getMortality() # Replace some agents with "newborns"
if self.read_shocks: # If shock histories have been pre-specified, use those
@@ -1332,7 +1333,6 @@ def copy_module_to_local(full_module_name):
'y' to accept the default home directory: """+home_directory_with_module+"""
'n' to specify your own pathname\n\n""")
-
if target_path == 'n' or target_path == 'N':
target_path = input("""Please enter the full pathname to your target directory location: """)
