We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 840e763 commit cd0a294Copy full SHA for cd0a294
partitura/io/importmusicxml.py
@@ -224,6 +224,13 @@ def load_musicxml(
224
A `Score` instance.
225
226
"""
227
+ #NOTE: raising warning for ignore_invisible_objects is not ideal and it should be changed in the future
228
+ if ignore_invisible_objects:
229
+ warnings.warn(
230
+ "Be advised that the 'ignore_invisible_objects' option might sometimes lead "
231
+ "to parsing errors for unusual musicxml files. \n"
232
+ "Note that when ignore_invisible_objects is False (the default), the parsing works as expected as before."
233
+ )
234
235
xml = None
236
if isinstance(filename, str):
0 commit comments