OpenMS / autowrap

Generates Python Extension modules from Cythons PXD files
Other
73 stars 22 forks source link

Output error message if pxd comment is found that can't be parsed (e.g., extra space after : ) #104

Open timosachsenberg opened 3 years ago

timosachsenberg commented 3 years ago

Happened a few times and is probably easy to fix in autowrap.

hroest commented 2 years ago

@timosachsenberg you could simply remove the check for empty values here on line 142 and therefore allow empty values which a user could now generate with "wrap-x: wrap-y: Now some stuff here":

https://github.com/OpenMS/autowrap/blob/84e19fb094d628a7446120873c6819e79296bb3c/autowrap/PXDParser.py#L140-L150