From_performance

when I try this: score.Score.from_performance(performance).show()

I get the attribute error below:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-19-f98eee7e945d> in <module>
----> 1 score.Score.from_performance(performance).show()

/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/scamp/score.py in from_performance(cls, performance, quantization_scheme, time_signature, bar_line_locations, max_divisor, max_divisor_indigestibility, simplicity_preference, title, composer)
    924                     max_divisor_indigestibility=max_divisor_indigestibility, simplicity_preference=simplicity_preference
    925                 )
--> 926             elif not performance.is_quantized():
    927                 quantization_scheme = QuantizationScheme.from_time_signature(
    928                     quantization_settings.default_time_signature)

AttributeError: module 'scamp.performance' has no attribute 'is_quantized'

what’s wrong with this usage of from_performance method?

I think the issue here is a name conflict between the performance module itself, and and a variable you created called performance for storing the performance object. Change the name to perf or something and I expect that would fix it. If not, you could post your full code.