Skip to content

#1139 broke ProtoPlanetaryDisk #1221

@LourensVeen

Description

@LourensVeen

Describe the bug
#1139 tried to rename an argument to amuse.ext.protodisk.ProtoPlanetaryDisk.__init__, but the logic is wrong and now examples/textbook/solar_cluster_in_semilive_galaxy.py is broken.

It calls ProtoPlanetaryDisk with Rmin set to a value that isn't 1, which causes a ValueError to be raised because Rmin isn't the same as the default value of radius_min.

The intent of #1139 was to make it so that you could set either Rmin or radius_min or both if they were consistent, but that's not what the code currently does.

Metadata

Metadata

Assignees

Labels

area: ic/io/ext/labIssue relates to the amuse.ic, amuse.io, amuse.ext and amuse.lab functionality.kind: bug

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions