Python ssc.py missing some staticmethods for info

  • ozsolarwind
  • Topic Author
More
07 Apr 2015 20:50 #3221 by ozsolarwind
I was looking at getting module variable details for required and constraints using ssc.py. It failed because two static methods were missing. I added the following at about line 250 of ssc.py and all is sweet:

Code:
@staticmethod def ssc_info_required( p_inf ): SSCAPI._dll.ssc_info_required.restype = c_char_p return SSCAPI._dll.ssc_info_required( c_void_p(p_inf) ) @staticmethod def ssc_info_constraints( p_inf ): SSCAPI._dll.ssc_info_constraints.restype = c_char_p return SSCAPI._dll.ssc_info_constraints( c_void_p(p_inf) )


Kind regards
AnGus

Please Log in or Create an account to join the conversation.

  • ozsolarwind
  • Topic Author
More
01 Jul 2015 03:49 #3222 by ozsolarwind
Replied by ozsolarwind on topic Python ssc.py missing some staticmethods for info
I notice these static methods are still missing from the 2015-6-30 version

Kind regards
AnGus

Please Log in or Create an account to join the conversation.

Moderators: pgilman
Powered by Kunena Forum