Skip to content

Commit 5d094a0

Browse files
committed
removed example of bug it has since been fixed
1 parent 24fc482 commit 5d094a0

File tree

1 file changed

+2
-44
lines changed

1 file changed

+2
-44
lines changed

tutorials/UVES/UVES.ipynb

Lines changed: 2 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "",
99
"published": true
1010
},
11-
"signature": "sha256:fd9515822031a7a0d16c78263eb9a448fc057188c6f52dc3c59b33c2b20f3354"
11+
"signature": "sha256:41d5460b905ee796887164865ff8c3c6cfd882e4b1c647ade463663adacf9376"
1212
},
1313
"nbformat": 3,
1414
"nbformat_minor": 0,
@@ -1374,49 +1374,7 @@
13741374
"Please try to include an example that demonstrates the issue and will allow the\n",
13751375
"developers to reproduce and fix the problem. If you are seeing a crash\n",
13761376
"then frequently it will help to include the full Python stack trace as well as\n",
1377-
"information about your operating system (e.g. MacOSX version or Linux version).\n",
1378-
"\n",
1379-
"Here is a practical example.\n",
1380-
"Above we calculated the free-fall\n",
1381-
"velocity onto MN Lup like this."
1382-
]
1383-
},
1384-
{
1385-
"cell_type": "code",
1386-
"collapsed": false,
1387-
"input": [
1388-
"v_accr = (2.*G *M_MN_Lup / R_MN_Lup)**0.5"
1389-
],
1390-
"language": "python",
1391-
"metadata": {},
1392-
"outputs": []
1393-
},
1394-
{
1395-
"cell_type": "markdown",
1396-
"metadata": {},
1397-
"source": [
1398-
"Mathematically, the following statement is equivalent:"
1399-
]
1400-
},
1401-
{
1402-
"cell_type": "code",
1403-
"collapsed": false,
1404-
"input": [
1405-
"v_accr2 = np.sqrt((2.*G * M_MN_Lup/R_MN_Lup))"
1406-
],
1407-
"language": "python",
1408-
"metadata": {},
1409-
"outputs": []
1410-
},
1411-
{
1412-
"cell_type": "markdown",
1413-
"metadata": {},
1414-
"source": [
1415-
"However, this raises a warning and automatically converts the quantity object\n",
1416-
"to an numpy array and the unit is lost. If you believe that is a bug that should\n",
1417-
"be fixed, you might chose to report it in the [issue tracker](http://github.com/astropy/astropy/issues).\n",
1418-
"(But please check if somebody else has reported the same thing before, so we do\n",
1419-
"not clutter the issue tracker needlessly.)"
1377+
"information about your operating system (e.g. MacOSX version or Linux version)."
14201378
]
14211379
}
14221380
],

0 commit comments

Comments
 (0)